package glassline.mock;

import glassline.Glass;
import glassline.interfaces.Conveyor;
import glassline.interfaces.Popup;
import glassline.interfaces.Workstation;

public class MockPopup implements Popup {

	public EventLog log = new EventLog();
	
	public void msgHereIsGlass(Glass glass, Conveyor conveyor) {
		log.add(new LoggedEvent(
					"Received msgHereIsGlass from " + conveyor + " containing " + glass));
	}

	@Override
	public void msgHereIsGlass(Glass glass, Workstation workstation) {
		log.add(new LoggedEvent(
				"Received msgHereIsGlass from " + workstation + " containing " + glass));
	}

	@Override
	public void msgComeUp(Workstation w) {
		log.add(new LoggedEvent(
				"Received msgComeUp"));
	}
	
	public String toString() {
		return "Popup";
	}

	@Override
	public void addWorkstation(Workstation w) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void msgDoNotRaise() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void msgYouCanRaise() {
		// TODO Auto-generated method stub
		
	}

}
